package com.net.lnk.rpc.http.exception;

public enum RpcExceptionEnum {

	DATA_PARSE_ERROR("DATA_PARSE_ERROR", "DATA PARSE ERROR"), 
	NO_BEAN_FOUND("NO_BEAN_FOUND", "NO BEAN FOUND"),
	INVOKE_ERROR("INVOKE_ERROR", "INVOKE ERROR");

	private String code;
	private String message;

	RpcExceptionEnum(String code, String message) {
		this.code = code;
		this.message = message;
	}

	public String getCode() {
		return this.code;
	}

	public String getMessage() {
		return this.message;
	}

}
